﻿@model DataMongo.Entities.SearchParameter

<div class="row-fluid">
    <div class="span12">
        <div class="box box-color box-bordered" style="padding: 15px">
            @using (Html.BeginForm("SearchParameters", "PeopleSearch", FormMethod.Post,new{id="searchpeopleForm"}))
            {
                <div class="control-group">
                    <div class="email controls">
                        @Html.TextBoxFor(m => m.CityName, new { @class = "input-block-level", placeholder = "City", style = "width:300px" })
                        @Html.ValidationMessageFor(m => m.CityName)
                    </div>
                </div>

                <div class="control-group">
                    <div class="email controls">
                        @Html.TextBoxFor(m => m.CountryName, new { @class = "input-block-level", placeholder = "Country", style = "width:300px" })
                        @Html.ValidationMessageFor(m => m.CountryName)
                    </div>
                </div>

                <div class="control-group">
                    <div class="email controls">
                        @Html.RadioButton("Gender", "M",isChecked:true) Male
                        @Html.RadioButton("Gender", "F") Female
                    </div>
                </div>

                <div class="control-group">
                    <label for="slider" class="control-label">Age From</label>
                    <div class="clear-fix"></div>
                    <div class="controls">
                        <div class="slider span6" data-step="1" data-min="18" data-max="75" data-range="true" data-rangestart="15" data-rangestop="45">

                            <input type="hidden" name="agefrom" class="agefrom" value="" />
                            <div class="amount"></div>
                            <div class="slide"></div>
                        </div>
                    </div>
                </div>

                <input type="button" value="Show Results" class="btn btn-blue resultSearch" />
            }
        </div>
    </div>

</div>
